/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.article;

import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * 推送文章Entity
 * @author 丁光彪
 * @version 2016-11-09
 */
public class ArticlePush extends DataEntity<ArticlePush> {
	
	private static final long serialVersionUID = 1L;
	protected String articleId;		// 被推送文章id
	protected String link;		// link
	
	public ArticlePush() {
		super();
	}

	public ArticlePush(String id){
		super(id);
	}

	@Length(min=1, max=64, message="被推送文章id长度必须介于 1 和 64 之间")
	public String getArticleId() {
		return articleId;
	}

	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}
	
	@Length(min=0, max=255, message="link长度必须介于 0 和 255 之间")
	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}
	
}